import request from '@/utils/request'

// 查询转子查询列表
export function listShaftspecifications(query) {
  return request({
    url: '/business/shaftspecifications/list',
    method: 'get',
    params: query
  })
}

// 查询转子查询详细
export function getShaftspecifications(id) {
  return request({
    url: '/business/shaftspecifications/' + id,
    method: 'get'
  })
}

// 新增转子查询
export function addShaftspecifications(data) {
  return request({
    url: '/business/shaftspecifications',
    method: 'post',
    data: data
  })
}

// 修改转子查询
export function updateShaftspecifications(data) {
  return request({
    url: '/business/shaftspecifications',
    method: 'put',
    data: data
  })
}

// 删除转子查询
export function delShaftspecifications(id) {
  return request({
    url: '/business/shaftspecifications/' + id,
    method: 'delete'
  })
}
